home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmeDrawIndicator.z / XmeDrawIndicator
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr - Draws a Motif-style indicator (either a
  10.           check mark or a cross) at the specified location in the
  11.           drawable
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.           #include <Xm/DrawP.h>
  15.           vvvvooooiiiidddd XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr(
  16.           DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,
  17.           DDDDrrrraaaawwwwaaaabbbblllleeee ddddrrrraaaawwwwaaaabbbblllleeee,
  18.           GGGGCCCC ggggcccc,
  19.           PPPPoooossssiiiittttiiiioooonnnn xxxx,
  20.           PPPPoooossssiiiittttiiiioooonnnn yyyy,
  21.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn wwwwiiiiddddtttthhhh,
  22.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn hhhheeeeiiiigggghhhhtttt,
  23.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn mmmmaaaarrrrggggiiiinnnn,
  24.           XXXXttttEEEEnnnnuuuummmm iiiinnnnddddiiiiccccaaaattttoooorrrr____ttttyyyyppppeeee);
  25.  
  26.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  27.           This page documents Motif 2.1.
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.           XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr draws an indicator inside the specified
  31.           drawable.  The _i_n_d_i_c_a_t_o_r__t_y_p_e argument determines whether
  32.           the indicator will be a check mark or a cross.  The
  33.           arguments _x, _y, _w_i_d_t_h, and _h_e_i_g_h_tdefine a bounding box; the
  34.           indicator is rendered inside this bounding box. The _m_a_r_g_i_n
  35.           argument determines the offset of the indicator from the
  36.           sides of the bounding box.
  37.  
  38.           _d_i_s_p_l_a_y   Specifies the display.
  39.  
  40.           _d_r_a_w_a_b_l_e  Specifies the drawable on which the indicator is
  41.                     to be drawn.  Typically, the drawable will be a
  42.                     widget window.
  43.  
  44.           _g_c        Specifies the graphics context used to render the
  45.                     indicator.
  46.  
  47.           _x         Specifies the x-coordinate, in pixels, of the
  48.                     leftmost point of the bounding box.
  49.  
  50.           _y         Specifies the y-coordinate, in pixels, of the top
  51.                     point of the bounding box.
  52.  
  53.           _w_i_d_t_h     Specifies the width, in pixels, of the bounding
  54.                     box.
  55.  
  56.           _h_e_i_g_h_t    Specifies the height, in pixels, of the bounding
  57.                     box.
  58.  
  59.           _m_a_r_g_i_n    Specifies the size of the blank space between the
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrr((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                     sides of the bounding box and the indicator. For
  75.                     example, a _m_a_r_g_i_n of 0 would tell
  76.                     XXXXmmmmeeeeDDDDrrrraaaawwwwIIIInnnnddddiiiiccccaaaattttoooorrrrto draw the indicator so that its
  77.                     sides touched the sides of the bounding box.
  78.  
  79.           _i_n_d_i_c_a_t_o_r__t_y_p_e
  80.                     Specifies the kind of indicator to render. You
  81.                     must specify one of the following:
  82.  
  83.                     XXXXmmmmIIIINNNNDDDDIIIICCCCAAAATTTTOOOORRRR____CCCCHHHHEEEECCCCKKKK
  84.                               Draws a check mark.
  85.  
  86.                     XXXXmmmmIIIINNNNDDDDIIIICCCCAAAATTTTOOOORRRR____CCCCRRRROOOOSSSSSSSS
  87.                               Draws a cross.
  88.  
  89.      RRRREEEELLLLAAAATTTTEEEEDDDD
  90.           XXXXmmmmeeeeDDDDrrrraaaawwwwSSSSeeeeppppaaaarrrraaaattttoooorrrr(3).
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.